package com.iengoo.inductionms.service.impl;

import com.iengoo.inductionms.entity.MaritalStatus;
import com.iengoo.inductionms.mapper.MaritalStatusMapper;
import com.iengoo.inductionms.service.MaritalStatusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Author:huermao
 **/
@Service
public class MaritalStatusServiceImpl implements MaritalStatusService {
    @Autowired
    private MaritalStatusMapper maritalStatusMapper;
    @Override
    public List<MaritalStatus> queryAll() {
        List<MaritalStatus> maritalStatusList = maritalStatusMapper.queryAll();
        return maritalStatusList;
    }
}
